package com.bilibili.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Date;
import java.sql.Timestamp;

/**
 * 用户实体类
 */
@Data
public class User {
    private Integer id;
    private String name;
    private String pwd;
    private String phone;
    private String email;
    private int coin;
    private String image;
    private Integer memberId;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Timestamp loginTime;
    private Date registTime;
}
